package io.renren.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.renren.commons.tools.utils.DateUtils;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

public class CjCommunityActivityDTO {
    @ApiModelProperty(value = "ID",hidden = true)
    private Long id;
    @ApiModelProperty(value = "图片")
    private String images;
    @ApiModelProperty(value = "标题")
    private String titles;
    @ApiModelProperty(value = "发送范围")
    private String sendingRange;
    @ApiModelProperty(value = "活动类别")
    private Integer activityType;
    @ApiModelProperty(value = "发送至")
    private String sendingMode;
    @ApiModelProperty(value = "活动形式")
    private Boolean activityForm;
    @ApiModelProperty(value = "发布时间")
    private Date releaseTime;
    @ApiModelProperty(value = "创建人")
    private String creator;
    @ApiModelProperty(value = "创建时间",hidden = true)
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private Date createDate;
    @ApiModelProperty(value = "逻辑删除",hidden = true)
    private Boolean logicalDelete;

}
